// pages/2411Ayiliao-pages/physical/report.js
Page({
  data:{
    report:{
      orderNo:'2020100908900',
      item:'男性基础体检A套餐',
      name:'蒋峰',
      idCard:'378909199870098978',
      gender:'男',
      age:'24岁',
      reportDate:'2020-09-09'
    },
    sections:[
      {name:'一般检查'},
      {name:'内科检查'},
      {name:'外科检查'},
      {name:'血常规'},
      {name:'尿常规'},
      {name:'肝功能常规'},
      {name:'肾功能常规'}
    ]
  },
  onLoad(options){
    const id = options.id
    // 可根据 id 请求具体报告数据
  },
  toSection(e){
    const name = e.currentTarget.dataset.name
    wx.navigateTo({ url: `/pages/2411Ayiliao-pages/physical/report-detail?name=${encodeURIComponent(name)}` })
  }
}) 